package org.dtrevien.metamodel.graphviz.stmt.impl;

import org.dtrevien.metamodel.graphviz.stmt.Stmt;
import org.dtrevien.metamodel.graphviz.visitor.Visitor;

public class Attribute extends Stmt {

	protected String name;
	protected String value;
	
	public Attribute(String name, String value) {
		super();
		this.name = name;
		this.value = value;
	}
	
	public Attribute() {
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public void accept(Visitor v) {
		v.visitAttribute(this);
	}
	
}
